package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收据模板信息对象 ticket_template
 *
 * @author ruoyi
 * @date 2024-07-15
 */
public class TicketTemplate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 模板编号 */
    @Excel(name = "模板编号")
    private String templateNo;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String templateName;

    /** 模板信息json串 */
    @Excel(name = "模板信息json串")
    private String templateInfo;

    public void setTemplateNo(String templateNo)
    {
        this.templateNo = templateNo;
    }

    public String getTemplateNo()
    {
        return templateNo;
    }
    public void setTemplateName(String templateName)
    {
        this.templateName = templateName;
    }

    public String getTemplateName()
    {
        return templateName;
    }
    public void setTemplateInfo(String templateInfo)
    {
        this.templateInfo = templateInfo;
    }

    public String getTemplateInfo()
    {
        return templateInfo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("templateNo", getTemplateNo())
                .append("templateName", getTemplateName())
                .append("templateInfo", getTemplateInfo())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .toString();
    }
}
